dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteDateTime Structure / ParseExact Method / ParseExact(String,String[]) Method
The System.String to be parsed.
The array of System.String formats that describe elements contained within value.

On this page
    ParseExact(String,String[]) Method
    On this page
    Converts the specified System.String representation of a date to its SQLiteDateTime equivalent.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ParseExact( _
       ByVal value As String, _
       ByVal formats() As String _
    ) As SQLiteDateTime
    public static SQLiteDateTime ParseExact( 
       string value,
       string[] formats
    )

    Parameters

    value
    The System.String to be parsed.
    formats
    The array of System.String formats that describe elements contained within value.

    Return Value

    an SQLiteDateTime structure equal to the date represented by the specified System.String.
    Remarks
    ParseExact(String,String[]) tries to parse the value using the first format from the formats array. If the value could not be parsed, ParseExact(String,String[]) continues with the second format from the array, and so on.
    See Also